package com.shycloud.mido.homework.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 周报高光时刻
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WeekBestHomework对象", description="周报高光时刻")
public class WeekBestHomework implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "周报ID : 周报ID")
    private String weekId;

    @ApiModelProperty(value = "主键 : 主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "用户ID : 用户ID")
    private String memberId;

    @ApiModelProperty(value = "学生ID : 学生ID")
    private String studentId;

    @ApiModelProperty(value = "作业ID : 作业ID")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long homeworkId;

    @ApiModelProperty(value = "1识谱2纠错 : 1识谱2纠错")
    private String type;

    @ApiModelProperty(value = "最高分第几次 : 最高分第几次")
    private Integer bestNum;

    @ApiModelProperty(value = "最佳第几次的弹奏 : 最佳第几次的弹奏")
    private Long bestNumComplateId;

    @ApiModelProperty(value = "最佳分数 : 最佳分数")
    private Integer bestScore;

    @ApiModelProperty(value = "周报作业类型表ID : 周报作业类型表ID")
    private String weekHomeworkTypeId;

    @ApiModelProperty(value = "周维度ID : 周维度ID")
    private String dataWeekId;
    
    @ApiModelProperty(value = "曲目ID")
    private Integer musicId;
    
    @ApiModelProperty(value = "曲目名称")
    private String musicName;

    @ApiModelProperty(value = "删除标记 : 0-正常，1-删除")
    private String delFlag;

    @ApiModelProperty(value = "创建人 : 创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间 : 创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人 : 更新人")
    private String updateUser;

    @ApiModelProperty(value = "更新时间 : 更新时间")
    private LocalDateTime updateTime;

	@ApiModelProperty(value = "小节数")
	private Integer rhythmCount;

}
